package cn.iocoder.yudao.module.iot.controller.app.device.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

@Schema(description = "用户 APP - IoT 设备控制 Request VO")
@Data
public class IotAppDeviceControlReqVO {

    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "设备编号不能为空")
    private Long deviceId;

    @Schema(description = "分组编号", example = "1024")
    private Long groupId;

    @Schema(description = "控制指令", example = "{\"switch\": \"on\"}")
    private String command;
} 